package com.luojing.myInterface.t1;

import java.lang.reflect.Array;
import java.util.Arrays;
import javax.print.DocFlavor.STRING;

/**
 * @author luojing
 * @create 2018/08/21 下午9:49
 **/
class Uppercase extends StringProcess{


  @Override
  public String process(Object input) {
    return ((String) input).toUpperCase();
  }
}

class Lowercase extends StringProcess{

  @Override
  public String process(Object input) {
    return ((String) input).toLowerCase();
  }
}

class Splitcase extends StringProcess{

  @Override
  public String process(Object input) {
    return Arrays.toString(((String) input).split(" "));
  }
}
